package com.zwl.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("armors")
public class Armors {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("image")
    private String image;
    
    @TableField("armor_name")
    private String armorName;
    
    @TableField("current_price")
    private Integer currentPrice;
    
    @TableField("armor_effect")
    private String armorEffect;
    
    @TableField("durability")
    private Integer durability;
    
    @TableField("sellable_durability")
    private String sellableDurability;
    
//    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    
//    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}